# $Id$
#

AUTOMAKE_OPTIONS = foreign

AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
AM_CFLAGS+=`pkg-config --cflags glibmm-2.4`
AM_CFLAGS+=-fno-strict-aliasing -fPIC -std=c++0x

AM_LDFLAGS=`pkg-config --libs glibmm-2.4`
AM_LDFLAGS+= `pkg-config --libs libpqxx`


pkglib_LTLIBRARIES = dnchan.la

#dnchan_la_SOURCES = dionaeaHarvester.cc ../../../src/interface.cc ../../../src/python-interface.cc ../../../src/quechua.cc selects.cc

dnchan_la_SOURCES=dionaeaHarvester.cc
dnchan_la_SOURCES+=../../../src/interface.cc
dnchan_la_SOURCES+=../../../src/python-interface.cc
dnchan_la_SOURCES+=../../../src/quechua.cc
dnchan_la_SOURCES+=selects.cc


dnchan_la_LDFLAGS = -module  -no-undefined -avoid-version ${AM_LDFLAGS} ${AM_CFLAGS}

dnchan_la_CPPFLAGS = ${AM_CFLAGS}

